//
//  ViewController.m
//  CycleCollectionView
//
//  Created by Hello Cai on 2021/9/21.
//

#import "ViewController.h"
#import "HRCycleView.h"

@interface ViewController ()

@end

@implementation ViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view.
    
    HRCycleView *cyleView = [[HRCycleView alloc] initWithFrame:CGRectMake(0, 20, self.view.bounds.size.width, 200)];
    cyleView.data = @[@"Hello",@"world",@"study",@"Hard",@"!"];
    cyleView.autoPage = YES;
    [self.view addSubview:cyleView];
}


@end
